package learm.pers.studygitlab.code;

import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName: restTemplateConfig
 * @Description:
 * @Author: fangqing
 * @Date: 2021/6/28
 */

@Configuration
public class restTemplateConfig {
    @Bean
    public RestTemplate restTemplate(RestTemplateBuilder builder){
        return builder.build();
    }

}
